//
//  NewContactViewController.h
//  Guazi
//
//  Created by koolearn on 11-6-22.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface NewContactViewController : UIViewController <UITableViewDataSource, UITableViewDelegate, UITextFieldDelegate> {
    
    NSString* contactName;
    NSString* phone;
    
    UITextField* nameField;
    UITextField* phoneField;
    UITableView* groupsTableView;
    
    NSMutableArray* groups;
    NSMutableDictionary* selectGroups;
}


@property (nonatomic, retain) IBOutlet UITextField* nameField;
@property (nonatomic, retain) IBOutlet UITextField* phoneField;
@property (nonatomic, retain) IBOutlet UITableView* groupsTableView;

@property (nonatomic, retain) NSString* contactName;
@property (nonatomic, retain) NSString* phone;

- (IBAction) hiddenKeyboard;
- (IBAction) createGroup;

@end
